package com.ibm.cps.processors.deletion;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Set;

import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.KryoSerializable;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output;
import com.ibm.cps.processors.ProcessorDeletion;

public class NullDeletion extends ProcessorDeletion implements KryoSerializable {

	@Override
	public List<String> deleteAffectedProcessors(String deletedId,
			HashMap<String, Set<String>> parent2Successors) {
		return new ArrayList<String>(Arrays.asList(deletedId));
	}

	@Override
	public void write(Kryo kryo, Output output) {

	}

	@Override
	public void read(Kryo kryo, Input input) {

	}

}
